package com.wgchao.authmanager.infrastructure.jpa.repository;

import com.wgchao.authmanager.infrastructure.jpa.entity.RoleAuthoHandleInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleAuthoHandleJpaRepository extends JpaRepository<RoleAuthoHandleInfo, Long>,
        JpaSpecificationExecutor<RoleAuthoHandleInfo> {
    List<RoleAuthoHandleInfo> findAllByRoleAuthoId(Long roleAuthoId);
}
